package com.bestcem.xm.deliver.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @ClassName: RunnerLoadData
 * @Description:
 * @Author: chenglong.yue
 * @Date: 2022/10/13 17:26
 */
@Slf4j
@Component
public class RunnerLoadData implements CommandLineRunner {

    //@Qualifier("xmDeliverCache")
    //private final Cache<String, Object> xmDeliverCache;
    //
    //public RunnerLoadData(Cache<String, Object> xmDeliverCache) {
    //    this.xmDeliverCache = xmDeliverCache;
    //}

    @Override
    public void run(String... args) {
        initBaseSurveyFile();
    }

    private void initBaseSurveyFile() {
        log.info("需要缓存的写这里");
        //xmDeliverCache.put("ss", "11");
    }
}
